add_definitions(-DTRANSLATION_DOMAIN=\"kcm_privacy\")

set(kcm_privacy_SRCS
    privacywidget.h
    privacywidget.cpp
    icons.qrc
)

ki18n_wrap_ui(kcm_privacy_SRCS
    privacywidget.ui
)

kcoreaddons_add_plugin(kcm_privacy SOURCES ${kcm_privacy_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
kcmutils_generate_desktop_file(kcm_privacy)

target_link_libraries(kcm_privacy
     KF5::AuthCore
     KF5::ConfigWidgets
     KF5::KIOWidgets
     KF5::NotifyConfig
     KF5::I18n
)
